<div class="page-toolbar" style="border-bottom: 1px solid #C0C0C0;margin: 0 2px;height: 5px;"></div>
<div class="page-toolbar">
    <div class="layui-form-item" style="margin-bottom: 0">
        <a href="{:url('add')}" class="layui-btn layui-btn-primary fr" style="border-top: 0"><i class="aicon ai-tianjia"></i>添加</a>
    </div>

</div>
<form id="pageListForm">
<div class="layui-form">
<table class="layui-table mt10" lay-even="" lay-skin="row">
    <colgroup>
        <col width="50">
    </colgroup>
    <thead>
    <tr>
        <th style="text-align:center;">编号</th>
        <th style="text-align:center;">名称</th>
        <th style="text-align:center;">操作</th>
    </tr>
            </thead>
            <tbody>
            {volist name="data_list" id="vo"}
            <tr>
                <td style="text-align:center;">{$vo['id']}</td>
                <td style="text-align:center;">{$vo['name']}</td>
                <td style="text-align:center;">
                <a href="{:url('del?id='.$vo['id'])}" class="layui-btn layui-btn-primary layui-btn-sm"><i class="layui-icon" >修改</i></a>
                <a href="{:url('del?id='.$vo['id'])}" class="layui-btn layui-btn-primary layui-btn-sm"><i class="layui-icon" >删除</i></a>
                </td>
            </tr>
            {/volist}
            </tbody>
        </table>
        {$pages}
    </div>
</form>
{include file="block/layui" /}
